{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf420
{\fonttbl\f0\froman\fcharset77 Times-Bold;\f1\froman\fcharset77 Times-Roman;}
{\colortbl;\red255\green255\blue255;}
\vieww11060\viewh14080\viewkind0
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ri-2040\ql\qnatural

\f0\b\fs48 \cf0 About Drag\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ri-2040\ql\qnatural

\f1\b0\fs28 \cf0 version: 1.0\
\
I like the fact that I can drag files into Apple's Terminal.app windows and have the path appear.  Unfortunately there is no way to drag 
\f0\b from
\f1\b0  the terminal.  This program corrects this.  It adds a new command that allows you to specify files to drag and opens a window with an icon for you to actually drag.\
\
I usually use this if I want to open something in a Cocoa app.  e.g. I want to email a tarball that I've just made.  'drag myTarball.tgz' and then drag the icon into a new email in Mail.app.  You can also drag into the standard 'open file' dialog box.\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ri-2040\ql\qnatural

\f0\b\fs36 \cf0 \
Installation\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ri-2040\ql\qnatural

\f1\b0\fs28 \cf0 \
Put Drag.app in your Applications directory.  Modify the 'drag' shellscript to point to it.  (In detail, replace "~/Applications/Drag.app" in that file with the path to Drag.app, and leave the rest alone.)  Put the 'drag' shellscript somewhere in your path.
\f0\b\fs36 \
\
Use\

\f1\b0\fs28 \
Type 'drag <filename> [<filename1> [<filename2> ... ]]'.  A window will then open with a big picture of a file in it.  Drag the file whereever you want.  By default the file will be moved to the new location if you drag to the finder.  If you want to copy to the finder, hold down the Option key as you are dropping the file in the finder.\
\
Once you release from the drag, the program will exit returning your shell.  This happens whether the drag was successful or not (and so provides an easy way to cancel - simply drag the file a little, and drop it back inside Drag.app's window).\
\
If you specify multiple files then all of them are considered part of the same drag.  If you specify no files then nothing happens.\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ri-2040\ql\qnatural

\f0\b\fs36 \cf0 \
License\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ri-2040\ql\qnatural

\f1\b0\fs28 \cf0 \
Apple's license for example code (on which this app is based) says the code is free for any use as long as you acknowledge that Apple wrote the code, and don't try to hold them responsible for your changes.  I'm releasing under a similar license.  Keep the acknowledgements in place.  There are no warranties, express or implied.  In you make any improvements, it would be nice if you would let me know (willu.sp@cse.unsw.edu.au) so that I can incorporate them in the original.
\f0\b\fs36 \
\
Version History\

\f1\b0\fs28 01/2002 - Apple CocoaDragAndDrop Sample code by KG and MCF\
08/2007 - Converted to Drag by Will Uther.\
}